package com.rongshu.view.home.bean;

import java.io.Serializable;
import java.util.List;

/**
 * 请求发现页面banner返回数据
 */
public class BannerResponse implements Serializable {

    private int ErrCode;
    private String ErrMsg;
    private List<ResponseBean> Response;
    private String api;

    public String getApi() {
        return api;
    }

    public void setApi(String api) {
        this.api = api;
    }

    public int getErrCode() {
        return ErrCode;
    }

    public void setErrCode(int ErrCode) {
        this.ErrCode = ErrCode;
    }

    public String getErrMsg() {
        return ErrMsg;
    }

    public void setErrMsg(String ErrMsg) {
        this.ErrMsg = ErrMsg;
    }

    public List<ResponseBean> getResponse() {
        return Response;
    }

    public void setResponse(List<ResponseBean> response) {
        Response = response;
    }

    public static class ResponseBean implements Serializable{
        //NoCode 序号，imgUrl 图片，urlType (1.文章，2.连载，3.外部)，urlAddress url链接地址
        private int NoCode;
        private String imgUrl;
        private int urlType;
        private String urlAddress;

        public int getNoCode() {
            return NoCode;
        }

        public void setNoCode(int noCode) {
            NoCode = noCode;
        }

        public String getImgUrl() {
            return imgUrl;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public int getUrlType() {
            return urlType;
        }

        public void setUrlType(int urlType) {
            this.urlType = urlType;
        }

        public String getUrlAddress() {
            return urlAddress;
        }

        public void setUrlAddress(String urlAddress) {
            this.urlAddress = urlAddress;
        }
    }
}
